﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace GameEngine
{
    public class Door : GameTrigger
    {
        
        private Door _doorExit;

        public Door(Vector2 position, Rectangle collisionBox) : base(position, collisionBox) {

        }

        public bool HaveExit {
            get { return _doorExit != null; }
        }

        public Vector2 Position
        {
            set;
            get;
        }

        public Rectangle CollBox
        {
            set;
            get;
        }

        public Door DoorExit
        {
            set;
            get;
        }
    }
}
